#include <math.h>

#include "../include/scaling.h"

void Scaling::set(double a, double b, double c){
	m.m[0][0] = 1.0/a; 	m.m[0][1] = 0; 		m.m[0][2] = 0; 		m.m[0][3] = 0;
	m.m[1][0] = 0; 		m.m[1][1] = 1.0/b; 	m.m[1][2] = 0; 		m.m[1][3] = 0;
	m.m[2][0] = 0; 		m.m[2][1] = 0; 		m.m[2][2] = 1.0/c; 	m.m[2][3] = 0;
	m.m[3][0] = 0; 		m.m[3][1] = 0; 		m.m[3][2] = 0; 		m.m[3][3] = 1;
}
